package com.lhb.SC.admin.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestHeader;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

@FeignClient(name = "jiao-wu", url = "http://gateway.test.xdf.cn:80", path = "/jiaowu-ps/api")
public interface JiaoWuFeign {

    @GetMapping("/v2/productlayers/list")
    Map<String, Object> productList(@RequestParam("school_id") Integer schoolId,
                                    @RequestParam("standard_dept_code") String deptCode,
                                    @RequestHeader("appId") String appId,
                                    @RequestHeader("accessToken") String accessToken);

}
